<?php	
defined('YOCTO_EXE') or die(_("Sorry, access Denied."));

/**
 * app/config/timezone.php
 *
 * @author 		Kris Rybak <kris.rybak@krisrybak.com>	
 * @copyright 	2012 Kris Rybak
 * @since 		File available since Release 1.0.0
 * @version 	1.0.0
*/

	// Add Event  to log
	$app['log'][] = array('time' => microtime(true), 'event' => 'timezone');

	if(defined('APP_TIMEZONE')) {
		date_default_timezone_set(APP_TIMEZONE);
	} else {
		date_default_timezone_set('Europe/London');
	}
